home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / gui / precog2_1.lha / Precognition2_1 / include / CycleGadget.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-13  |  1.3 KB  |  53 lines

  1. /* ==========================================================================
  2. **
  3. **                             CycleGadget.h
  4. **
  5. ** PObject<GraphicObject<Interactor<Valuator<CycleGadget
  6. **
  7. **
  8. ** ©1991 WILLISoft
  9. **
  10. ** ==========================================================================
  11. */
  12.  
  13. #ifndef CYCLEGADGET_H
  14. #define CYCLEGADGET_H
  15.  
  16.  
  17. #include "BoolGadget.h"
  18. #include "StringList.h"
  19.  
  20. /* PObject<GraphicObject<Interactor<Valuator<BoolGadget<CycleGadget */
  21.  
  22. typedef struct CycleGadget
  23. {
  24.    BoolGadget  bg;
  25.    StringList  sl;
  26.    IntuiText   Format;
  27. } CycleGadget;
  28.  
  29.  
  30. void CycleGadget_Init __PARMS((
  31.                        CycleGadget *cyclegadget,
  32.                        PIXELS       LeftEdge,
  33.                        PIXELS       TopEdge,
  34.                        PIXELS       Width,
  35.                        pcg_3DPens   Pens,
  36.                        char        *label,
  37.                        char       **Choices
  38.                      ));
  39.  
  40.    /* 'Choices is a null terminated array of strings which
  41.    ** define the cycle-gadget choices.  e.g.
  42.    **
  43.    **    char *choices[] = { "this", "that", "the other", NULL };
  44.    **
  45.    ** The NULL terminator is mandatory.
  46.    */
  47.  
  48. /* Additions for Builder Prototypes -- EDB */
  49.  
  50. struct ValuatorClass *CycleGadgetClass __PARMS(( void ));
  51.  
  52. #endif
  53.